.class public Les/fi0;
.super Ljava/lang/Object;
.source "CountryUtils.java"


# static fields
.field private static final a:[Ljava/lang/String;

.field private static final b:[Ljava/lang/String;

.field private static final c:[Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 25

    const/16 v0, 0x21

    new-array v0, v0, [Ljava/lang/String;

    const-string v1, "AT"

    const/4 v2, 0x0

    aput-object v1, v0, v2

    const-string v1, "BE"

    const/4 v3, 0x1

    aput-object v1, v0, v3

    const-string v1, "BG"

    const/4 v4, 0x2

    aput-object v1, v0, v4

    const-string v1, "HR"

    const/4 v5, 0x3

    aput-object v1, v0, v5

    const-string v1, "CY"

    const/4 v6, 0x4

    aput-object v1, v0, v6

    const-string v1, "CZ"

    const/4 v7, 0x5

    aput-object v1, v0, v7

    const-string v1, "DK"

    const/4 v8, 0x6

    aput-object v1, v0, v8

    const-string v1, "EE"

    const/4 v9, 0x7

    aput-object v1, v0, v9

    const-string v1, "FI"

    const/16 v10, 0x8

    aput-object v1, v0, v10

    const-string v1, "FR"

    const/16 v11, 0x9

    aput-object v1, v0, v11

    const-string v1, "DE"

    const/16 v12, 0xa

    aput-object v1, v0, v12

    const-string v1, "GR"

    const/16 v13, 0xb

    aput-object v1, v0, v13

    const-string v1, "HU"

    const/16 v14, 0xc

    aput-object v1, v0, v14

    const-string v1, "IE"

    const/16 v15, 0xd

    aput-object v1, v0, v15

    const-string v1, "IT"

    const/16 v16, 0xe

    aput-object v1, v0, v16

    const-string v1, "LV"

    const/16 v17, 0xf

    aput-object v1, v0, v17

    const-string v1, "LT"

    const/16 v18, 0x10

    aput-object v1, v0, v18

    const-string v1, "LU"

    const/16 v19, 0x11

    aput-object v1, v0, v19

    const-string v1, "MT"

    const/16 v20, 0x12

    aput-object v1, v0, v20

    const-string v1, "NL"

    const/16 v21, 0x13

    aput-object v1, v0, v21

    const-string v1, "PL"

    const/16 v22, 0x14

    aput-object v1, v0, v22

    const-string v1, "PT"

    const/16 v23, 0x15

    aput-object v1, v0, v23

    const/16 v1, 0x16

    const-string v24, "RO"

    aput-object v24, v0, v1

    const/16 v1, 0x17

    const-string v24, "SK"

    aput-object v24, v0, v1

    const/16 v1, 0x18

    const-string v24, "SI"

    aput-object v24, v0, v1

    const/16 v1, 0x19

    const-string v24, "ES"

    aput-object v24, v0, v1

    const/16 v1, 0x1a

    const-string v24, "SE"

    aput-object v24, v0, v1

    const/16 v1, 0x1b

    const-string v24, "GB"

    aput-object v24, v0, v1

    const/16 v1, 0x1c

    const-string v24, "GF"

    aput-object v24, v0, v1

    const/16 v1, 0x1d

    const-string v24, "PF"

    aput-object v24, v0, v1

    const/16 v1, 0x1e

    const-string v24, "TF"

    aput-object v24, v0, v1

    const/16 v1, 0x1f

    const-string v24, "YT"

    aput-object v24, v0, v1

    const/16 v1, 0x20

    const-string v24, "RE"

    aput-object v24, v0, v1

    .line 1
    sput-object v0, Les/fi0;->a:[Ljava/lang/String;

    const/16 v0, 0x1f

    new-array v0, v0, [Ljava/lang/String;

    const-string v1, "040"

    aput-object v1, v0, v2

    const-string v1, "056"

    aput-object v1, v0, v3

    const-string v1, "100"

    aput-object v1, v0, v4

    const-string v1, "191"

    aput-object v1, v0, v5

    const-string v1, "196"

    aput-object v1, v0, v6

    const-string v1, "203"

    aput-object v1, v0, v7

    const-string v1, "208"

    aput-object v1, v0, v8

    const-string v1, "233"

    aput-object v1, v0, v9

    const-string v1, "246"

    aput-object v1, v0, v10

    const-string v1, "250"

    aput-object v1, v0, v11

    const-string v1, "276"

    aput-object v1, v0, v12

    const-string v1, "300"

    aput-object v1, v0, v13

    const-string v1, "348"

    aput-object v1, v0, v14

    const-string v1, "372"

    aput-object v1, v0, v15

    const-string v1, "380"

    aput-object v1, v0, v16

    const-string v1, "428"

    aput-object v1, v0, v17

    const-string v1, "440"

    aput-object v1, v0, v18

    const-string v1, "442"

    aput-object v1, v0, v19

    const-string v1, "470"

    aput-object v1, v0, v20

    const-string v1, "528"

    aput-object v1, v0, v21

    const-string v1, "616"

    aput-object v1, v0, v22

    const-string v1, "620"

    aput-object v1, v0, v23

    const/16 v1, 0x16

    const-string v24, "642"

    aput-object v24, v0, v1

    const/16 v1, 0x17

    const-string v24, "703"

    aput-object v24, v0, v1

    const/16 v1, 0x18

    const-string v24, "705"

    aput-object v24, v0, v1

    const/16 v1, 0x19

    const-string v24, "724"

    aput-object v24, v0, v1

    const/16 v1, 0x1a

    const-string v24, "752"

    aput-object v24, v0, v1

    const/16 v1, 0x1b

    const-string v24, "826"

    aput-object v24, v0, v1

    const/16 v1, 0x1c

    const-string v24, "254"

    aput-object v24, v0, v1

    const/16 v1, 0x1d

    const-string v24, "258"

    aput-object v24, v0, v1

    const/16 v1, 0x1e

    const-string v24, "260"

    aput-object v24, v0, v1

    .line 2
    sput-object v0, Les/fi0;->b:[Ljava/lang/String;

    const/16 v0, 0x1f

    new-array v0, v0, [Ljava/lang/String;

    const-string v1, "232"

    aput-object v1, v0, v2

    const-string v1, "206"

    aput-object v1, v0, v3

    const-string v1, "284"

    aput-object v1, v0, v4

    const-string v1, "219"

    aput-object v1, v0, v5

    const-string v1, "280"

    aput-object v1, v0, v6

    const-string v1, "230"

    aput-object v1, v0, v7

    const-string v1, "238"

    aput-object v1, v0, v8

    const-string v1, "248"

    aput-object v1, v0, v9

    const-string v1, "244"

    aput-object v1, v0, v10

    const-string v1, "208"

    aput-object v1, v0, v11

    const-string v1, "262"

    aput-object v1, v0, v12

    const-string v1, "202"

    aput-object v1, v0, v13

    const-string v1, "216"

    aput-object v1, v0, v14

    const-string v1, "272"

    aput-object v1, v0, v15

    const-string v1, "222"

    aput-object v1, v0, v16

    const-string v1, "247"

    aput-object v1, v0, v17

    const-string v1, "246"

    aput-object v1, v0, v18

    const-string v1, "270"

    aput-object v1, v0, v19

    const-string v1, "278"

    aput-object v1, v0, v20

    const-string v1, "204"

    aput-object v1, v0, v21

    const-string v1, "260"

    aput-object v1, v0, v22

    const-string v1, "268"

    aput-object v1, v0, v23

    const/16 v1, 0x16

    const-string v2, "226"

    aput-object v2, v0, v1

    const/16 v1, 0x17

    const-string v2, "231"

    aput-object v2, v0, v1

    const/16 v1, 0x18

    const-string v2, "293"

    aput-object v2, v0, v1

    const/16 v1, 0x19

    const-string v2, "214"

    aput-object v2, v0, v1

    const/16 v1, 0x1a

    const-string v2, "240"

    aput-object v2, v0, v1

    const/16 v1, 0x1b

    const-string v2, "234"

    aput-object v2, v0, v1

    const/16 v1, 0x1c

    const-string v2, "340"

    aput-object v2, v0, v1

    const/16 v1, 0x1d

    const-string v2, "547"

    aput-object v2, v0, v1

    const/16 v1, 0x1e

    const-string v2, "647"

    aput-object v2, v0, v1

    .line 3
    sput-object v0, Les/fi0;->c:[Ljava/lang/String;

    return-void
.end method

.method public static a(Landroid/content/Context;)Ljava/lang/String;
    .locals 1

    :try_start_0
    const-string v0, "phone"

    .line 6
    invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Landroid/telephony/TelephonyManager;

    .line 7
    invoke-virtual {p0}, Landroid/telephony/TelephonyManager;->getNetworkOperator()Ljava/lang/String;

    move-result-object p0
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-object p0

    :catch_0
    const-string p0, ""

    return-object p0
.end method

.method private static a()Z
    .locals 7

    const/4 v0, 0x0

    .line 1
    :try_start_0
    invoke-static {}, Ljava/util/Locale;->getDefault()Ljava/util/Locale;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/Locale;->getCountry()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v1

    .line 2
    sget-object v2, Les/fi0;->a:[Ljava/lang/String;

    array-length v3, v2

    const/4 v4, 0x0

    :goto_0
    const/4 v5, 0x1

    if-ge v4, v3, :cond_1

    aget-object v6, v2, v4

    .line 3
    invoke-virtual {v6, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_0

    return v5

    :cond_0
    add-int/lit8 v4, v4, 0x1

    goto :goto_0

    .line 4
    :cond_1
    sget-object v2, Les/fi0;->b:[Ljava/lang/String;

    array-length v3, v2

    const/4 v4, 0x0

    :goto_1
    if-ge v4, v3, :cond_3

    aget-object v6, v2, v4

    .line 5
    invoke-virtual {v6, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    if-eqz v6, :cond_2

    return v5

    :cond_2
    add-int/lit8 v4, v4, 0x1

    goto :goto_1

    :catch_0
    :cond_3
    return v0
.end method

.method public static b(Landroid/content/Context;)Z
    .locals 1

    .line 1
    invoke-static {}, Les/fi0;->a()Z

    move-result v0

    if-nez v0, :cond_1

    invoke-static {p0}, Les/fi0;->c(Landroid/content/Context;)Z

    move-result p0

    if-eqz p0, :cond_0

    goto :goto_0

    :cond_0
    const/4 p0, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 p0, 0x1

    :goto_1
    return p0
.end method

.method private static c(Landroid/content/Context;)Z
    .locals 5

    .line 1
    invoke-static {p0}, Les/fi0;->a(Landroid/content/Context;)Ljava/lang/String;

    move-result-object p0

    .line 2
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    const/4 v1, 0x0

    if-eqz v0, :cond_0

    return v1

    .line 3
    :cond_0
    sget-object v0, Les/fi0;->c:[Ljava/lang/String;

    array-length v2, v0

    const/4 v3, 0x0

    :goto_0
    if-ge v3, v2, :cond_2

    aget-object v4, v0, v3

    .line 4
    invoke-virtual {p0, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v4

    if-eqz v4, :cond_1

    const/4 p0, 0x1

    return p0

    :cond_1
    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    :cond_2
    return v1
.end method
